package com.kingdee.eas.crm.doffice;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class DocumentTreeFactory
{
    private DocumentTreeFactory()
    {
    }
    public static com.kingdee.eas.crm.doffice.IDocumentTree getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.crm.doffice.IDocumentTree)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("08ED6E09") ,com.kingdee.eas.crm.doffice.IDocumentTree.class);
    }
    
    public static com.kingdee.eas.crm.doffice.IDocumentTree getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.crm.doffice.IDocumentTree)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("08ED6E09") ,com.kingdee.eas.crm.doffice.IDocumentTree.class, objectCtx);
    }
    public static com.kingdee.eas.crm.doffice.IDocumentTree getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.crm.doffice.IDocumentTree)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("08ED6E09"));
    }
    public static com.kingdee.eas.crm.doffice.IDocumentTree getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.crm.doffice.IDocumentTree)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("08ED6E09"));
    }
}